import java.util.ArrayList;
import java.util.List;

public class Main {
    public static void main(String[] args) {
        SqlList sqlList = new SqlList();
        sqlList.add(1);
        sqlList.add(5);
        sqlList.display();
        System.out.println(sqlList.contains(1));
        try{
            sqlList.get(8);
        }catch (PosException e){
            e.printStackTrace();
        }

        ArrayList<Integer> arrayList1 = new ArrayList<>();

        List<Integer> arrayList2 = new ArrayList<>();//顺序表
        //不能调用子类自己的方法
    }
}
